Implementation of a Lattice Gas Simulation

نویسنده

  • Tony H. Kim
چکیده

In this paper I discuss the implementation of a lattice-gas simulation on a hexagonal grid. The application is written in the C++ language using the Windows and DirectX APIs. Due to the nature of the project, following the initial introduction to the lattice gas concept, the discussion has somewhat the feel of a software manual. After documenting my application in Section 3, I spend some time discussing the technical difficulties associated with attempting to simulate a large number of (albeit simple) automata; and the strategies employed in order to reduce the cost of computations. I conclude with a gallery consisting of screens from the various demos I have produced using the engine.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Numerical simulation of a three-layered radiant porous heat exchanger including lattice Boltzmann simulation of fluid flow

This paper deals with the hydrodynamic and thermal analysis of a new type of porous heat exchanger (PHE). This system operates based on energy conversion between gas enthalpy and thermal radiation. The proposed PHE has one high temperature (HT) and two heat recovery (HR1 and HR2) sections. In HT section, the enthalpy of flowing high temperature gas flow that is converted to thermal radiation em...

متن کامل

Implementation of D3Q19 Lattice Boltzmann Method with a Curved Wall Boundary Condition for Simulation of Practical Flow Problems

In this paper, implementation of an extended form of a no-slip wall boundary condition is presented for the three-dimensional (3-D) lattice Boltzmann method (LBM) for solving the incompressible fluid flows with complex geometries. The boundary condition is based on the off-lattice scheme with a polynomial interpolation which is used to reconstruct the curved or irregular wall boundary on the ne...

متن کامل

Lattice Gas Automata Simulation of Adsorption Process of Polymer in Porous Media

Lattice gas automata (LGA) model is developed to simulate polymer adsorption process by adding some collision rules. The simulation result of the model is matched with batch experiment and compared with accepted isothermal adsorption equations. They show that the model is viable to perform simulation of the polymer adsorption process. The LGA model is then applied for simulating continuous poly...

متن کامل

Evaluation of two lattice Boltzmann methods for fluid flow simulation in a stirred tank

In the present study, commonly used weakly compressible lattice Boltzmann method and Guo incompressible lattice Boltzmann method have been used to simulate fluid flow in a stirred tank. For this purpose a 3D Parallel code has been developed in the framework of the lattice Boltzmann method. This program has been used for simulation of flow at different geometries such as 2D channel fluid flow an...

متن کامل

Gas-liquid Relative Permeability Estimation in 2D Porous Media by Lattice Boltzmann Method: Low Viscosity Ratio 2D LBM Relative Permeability

This work is a primary achievement in studying the CO2 and N2–oil systems. To predict gas-liquid relative permeability curves, a Shan-Chen type multicomponent multiphase lattice Boltzmann model for two-phase flow through 2D porous media is developed. Periodic and bounce back boundary conditions are applied to the model with the Guo scheme for the external body force (i.e.,...

متن کامل

A novel boundary condition for the simulation of the submerged bodies using lattice boltzmann method

In this study, we proposed a novel scheme for the implementation of the no-slip boundary condition in thelattice Boltzmann method (LBM) . In detail , we have substituted the classical bounce-back idea by the direct immersed boundary specification . In this way we construct the equilibrium density functions in such a way that it feels the no-slip boundaries . Therefore , in fact a kind of equili...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007